package top.iflyoung.cim.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import top.iflyoung.cim.biz.entity.ChatGroupMember;

import java.util.List;

/**
 * @author liguiyang
 * @description 分组成员Mapper
 * @sine 1.8
 * @date 2021/9/222:36
 **/
public interface ChatGroupMemberMapper extends BaseMapper<ChatGroupMember> {
    /**
     * 通过分组ID查询出成员列表
     * @param groupId
     * @return
     */
    List<ChatGroupMember> queryAllByGroupId(@Param("groupId") Long groupId);
}
